#ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__

#include "MyHeaders.h"

class MainScene : public cocos2d::CCLayer
{
public:
    virtual bool init();  
    static cocos2d::CCScene* scene();
    CREATE_FUNC(MainScene);
private:
	int WIN_W;
	int WIN_H;

	static const int TAG_ENTERGAME = 100;

	UILayer* btnLayer;
	UIButton* createBtn(const char* name,const char* pressName,int tag,float x,float y);
	void onMenuClick(CCObject* pSender,TouchEventType type);
};

#endif // __HELLOWORLD_SCENE_H__
